docs: Make clear that gtk_widget_set_style() does not do anything
authorBenjamin Otte <otte@redhat.com>
Sat, 26 Mar 2011 20:46:50 +0000 (21:46 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 26 Mar 2011 23:48:26 +0000 (00:48 +0100)
gtk/gtkwidget.c

index 4f6797109ffa0054984353bbc6528a5d08102cca..7f09ddf0727a81e76bfbdfd33cb31ff34dd1cbf5 100644 (file)
@@ -7845,11 +7845,8 @@ gtk_widget_has_rc_style (GtkWidget *widget)
  *     of a previous call to gtk_widget_set_style() and go back to
  *     the default style
  *
- * Sets the #GtkStyle for a widget (@widget->style).
- *
- * You probably don't want to use this function; it interacts
- * badly with themes, because themes work by replacing the #GtkStyle.
- * Instead, use gtk_widget_modify_style().
+ * Used to set the #GtkStyle for a widget (@widget->style). Since
+ * GTK 3, this function does nothing, the passed in style is ignored.
  *
  * Deprecated:3.0: Use #GtkStyleContext instead
  */